/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.rb-content .main-content {
  margin-right: 280px;
}

.rb-right-sidebar.field-aside {
  width: 280px;
}

.page-aside,
.field-aside {
  z-index: 1;
}

.not-nullable {
  border-left: 3px solid #ea4335 !important;
}

.readonly {
  border-left: 3px solid #bbb !important;
}

.field-aside .rb-content {
  padding: 18px 0;
  margin: 0;
}

.tab-pane {
  min-height: 200px;
}

.dd-list .dd-item {
  position: relative;
}

.dd-list .dd-item span.ft {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 12px;
  color: #999;
  background-color: #eee;
  display: inline-block;
  padding: 3px 4px;
  line-height: 1;
  border-radius: 2px;
}

.dd-list .dd-item .dd-action {
  float: right;
  cursor: default;
  margin-top: 12px;
  margin-right: 6px;
  display: none;
}

.dd-list .dd-item .dd-handle:hover .dd-action {
  display: block;
}

.dd-list .dd-item .dd-action a {
  color: #fff;
  font-size: 1.23rem;
  font-style: normal;
  display: inline-block;
  padding-left: 6px;
  opacity: 0.8;
}

.dd-list .dd-item .dd-action a:hover {
  opacity: 1;
}

.dd-list .dd-item .dd-action a + a {
  margin-left: 4px;
}

.dd-list .dd-item .dd-action a.colspan > .zmdi {
  font-size: 1.55rem;
  transform: translateY(2px);
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu {
  padding: 10px 5px;
  margin: 0;
  width: 200px;
  min-width: 200px;
  text-align: center;
  border-radius: 2px;
  font-size: 0;
  line-height: 1;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a {
  width: 14%;
  display: inline-block;
  background-color: #eee;
  padding: 0;
  height: 18px;
  text-align: left;
  border: 1px solid #fff;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a:hover {
  outline: 2px solid #4285f4;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a:hover::after {
  background-color: #4285f4;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a::after {
  content: ' ';
  display: inline-block;
  background-color: #ccc;
  height: 100%;
  width: 50%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='1']::after {
  width: 25%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='2']::after {
  width: 50%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='3']::after {
  width: 75%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='4']::after {
  width: 100%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='9']::after {
  width: 33.33%;
}

.dd-list .dd-item .dd-action a.colspan + .dropdown-menu > a[data-colspan='8']::after {
  width: 66.66%;
}

.form-preview .dd-item,
.form-preview .dd-placeholder {
  float: left;
  width: 49%;
  margin-left: 0.5%;
  margin-right: 0.5%;
}

.form-preview .dd-placeholder {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 36px;
}

.form-preview .dd-item.w-25 {
  width: 24% !important;
}

.form-preview .dd-item.w-50 {
  width: 49% !important;
}

.form-preview .dd-item.w-75 {
  width: 74% !important;
}

.form-preview .dd-item.w-100 {
  width: 99% !important;
}

.form-preview .dd-item.w-33 {
  width: 32.33% !important;
}

.form-preview .dd-item.w-66 {
  width: 65.66% !important;
}

.form-preview .dd-item span.ft {
  top: 14px;
}

.form-preview .dd-item:hover span.ft {
  display: none;
}

.form-preview .divider .dd-handle,
.form-preview .refform .dd-handle {
  background-color: #eee;
}

.form-preview .divider .dd-handle > span:empty::after,
.form-preview .refform .dd-handle > span:empty::after {
  content: attr(_title);
  font-style: italic;
  color: #999;
}

.form-preview .divider .dd-handle[data-breaked='true'] > span:empty::after {
  content: attr(_title2);
}

.form-preview .divider .dd-handle:hover > span:empty::after,
.form-preview .refform .dd-handle:hover > span:empty::after {
  color: #fff;
}

.form-preview .divider .dd-action,
.form-preview .refform .dd-action {
  margin-top: 14px;
}

.form-preview .refform .dd-handle {
  border-color: #b3d4ff;
}

.form-preview .dd-item,
.form-preview .dd-handle {
  cursor: move !important;
}

.form-preview:empty::after,
.field-list:empty::after,
.form-fields:empty::after {
  content: attr(_title);
  color: #999;
  text-align: center;
  padding: 9px;
  border: 1px dotted #dedede;
  width: 100%;
  display: block;
}

.field-list,
.type-list,
.form-fields {
  padding: 10px 15px;
}

.field-list .dd-item .dd-handle,
.type-list .dd-item .dd-handle {
  cursor: pointer;
}

.field-list .dd-item .dd-handle::before,
.type-list .dd-item .dd-handle:hover::before {
  content: '\f278';
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  float: right;
  font-size: 1.6rem;
  color: #999;
}

.field-list .dd-item:hover .dd-handle::before,
.type-list .dd-item:hover .dd-handle::before {
  color: #fff;
}

.field-list .dd-item span.ft {
  right: 32px;
}

form.field-attr {
  width: 500px;
  max-width: 440px;
  margin: 0 auto;
}

form.field-attr label {
  font-weight: bold;
}

form.field-attr label > span {
  font-weight: normal;
}

.dd-list .dd-item .dd-handle span > i {
  font-size: 15px;
  margin-left: 5px;
  color: #999;
  cursor: help;
  position: absolute;
  margin-top: 2px;
}

.dd-list .dd-item .dd-handle:hover span > i {
  color: #fff;
}

.field-legend {
  position: fixed;
  background-color: #fafafa;
  padding: 10px;
  bottom: 0;
  width: 265px;
  white-space: nowrap;
}

.field-legend > span {
  padding-left: 4px;
  font-size: 12px;
  margin-left: 10px;
}

.table.table-p {
  table-layout: fixed;
  border: 0 none;
  border-bottom: 1px solid #dee2e6;
}

.table.table-p td,
.table.table-p th {
  padding: 9px 6px;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal;
}

.table.table-p th {
  border-top: 0 none;
  font-weight: normal;
  color: #777;
}

.table.table-p .custom-control {
  padding-left: 1.9377rem;
  margin-right: 1.385rem;
  padding-left: 22px;
  margin-right: 12px;
}

.table.table-p a.easy-control {
  font-size: 15px;
  color: #999;
  display: none;
}

.table.table-p tr:hover a.easy-control {
  display: inline-block;
}

.table.table-p a.easy-control:hover,
.table.table-p a.easy-control.active {
  color: #4285f4;
  display: inline-block;
}

.type-list .dd-handle {
  padding-left: 38px !important;
}

.type-list .dd-handle .icon.mdi {
  font-size: 1.4rem;
  width: 20px;
  position: absolute;
  left: 13px;
  margin-top: -1px;
}

.form-preview .dd-handle::before,
.form-fields .dd-handle::before {
  font-family: 'Material Design Icons', serif;
  content: '\F01DD';
  color: #999;
  position: absolute;
  font-size: 18px;
  left: 5px;
}

.form-preview .dd-handle:hover::before,
.form-fields .dd-handle:hover::before {
  color: #fff;
}

.form-preview .dd-handle,
.form-fields .dd-handle {
  padding-left: 23px !important;
}

.dd-list .dd-item .dd-handle[data-breaked='true'] {
  border-style: dashed;
}

.form-action-menu .dropdown-item {
  position: relative;
}

.form-action-menu .dropdown-item > div.action {
  position: absolute;
  right: 20px;
  top: 0;
  font-size: 0;
  display: none;
}

.form-action-menu .dropdown-item:hover > div.action {
  display: block;
}

.form-action-menu .dropdown-item > div.action > span {
  height: 34px;
  line-height: 34px;
  color: #aaa !important;
  border-radius: 0;
  width: 22px;
  text-align: right;
  font-size: 1.2rem;
  display: inline-block;
  background-color: #eee;
}

.form-action-menu .dropdown-item > div.action > span:hover {
  color: #4285f4 !important;
}

#FIELDNEW .bosskey-show {
  display: none !important;
}
